using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace WirtualneNauczanie 
{
class Studentscourses 
{
int studentcourseid;
int courseid;
DateTime dateenrolled;
Guid studentid;

public Studentscourses()
{

}

public virtual int Studentcourseid
{
get { return studentcourseid; }
set { studentcourseid= value; }
}

public virtual int Courseid
{
get { return courseid; }
set { courseid= value; }
}

public virtual DateTime Dateenrolled
{
get { return dateenrolled; }
set { dateenrolled= value; }
}

public virtual Guid Studentid
{
get { return studentid; }
set { studentid= value; }
}

public override string ToString()
{
String s = "";
if(studentcourseid!=null)
	s+= "studentcourseid : "+ studentcourseid.ToString()+"\n";
else
	s+= "studentcourseid : null\n";
if(courseid!=null)
	s+= "courseid : "+ courseid.ToString()+"\n";
else
	s+= "courseid : null\n";
if(dateenrolled!=null)
	s+= "dateenrolled : "+ dateenrolled.ToString()+"\n";
else
	s+= "dateenrolled : null\n";
if(studentid!=null)
	s+= "studentid : "+ studentid.ToString()+"\n";
else
	s+= "studentid : null\n";
return s;
}


}
}
